package com.wgchao.amc.mapstruct.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @作者  wgchao
 * @时间 2019-10-30 
 * @用途  
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@JsonInclude(content = JsonInclude.Include.NON_NULL)
@ApiModel(value="SysBaseUrDTO",description="用户部门角色信息")
public class SysBaseUrDTO  implements Serializable {

	private static final long serialVersionUID =  6295857125266087559L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value="主键",name="id")
	private Long id;

	/**
	 * 用户ID
	 */
	@ApiModelProperty(value="用户ID",name="userId")
	private Long userId;

	/**
	 * 用户所在部门拥有的角色ID
	 */
	@ApiModelProperty(value="用户所在部门拥有的角色ID",name="roleId")
	private Long roleId;

	@ApiModelProperty(value="部门ID",name="groupId")
	private Long groupId;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value="创建时间",name="createTime")
	private Date createTime;

	/**
	 * 删除标志
	 */
	@ApiModelProperty(value="删除标志",name="del")
	private boolean del;

	/**
	 * 删除时间
	 */
	@ApiModelProperty(value="删除时间",name="delTime")
	private Date delTime;

	@ApiModelProperty(value="部门信息",name="groupInfo")
	private SysBaseGroupDTO groupInfo;

	@ApiModelProperty(value="角色信息",name="roleInfo")
	private SysBaseRoleDTO roleInfo;

}
